<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title></title>
    <script src="__ROOT__/themes/default/wap/statics/js/mui.min.js"></script>

    <script src="/static/default/wap/js/jquery.js"></script>
    <script src="/static/default/wap/other/layer.js"></script>

    <link href="__ROOT__/themes/default/wap/statics/css/mui.min.css" rel="stylesheet"/>
    <link rel="stylesheet" type="text/css" href="__ROOT__/themes/default/wap/statics/css/style.css"/>
    <link rel="stylesheet" type="text/css" href="__ROOT__/themes/default/wap/statics/css/index.css"/>
    <script type="text/javascript" charset="utf-8">
        mui.init();
    </script>
</head>
<body>
<!--<header class="mui-bar mui-bar-nav">
    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left">返回</a>
    <h1 class="mui-title">checkbox（复选框）</h1>
</header>-->
<div id="nav">
    <ul>
        <li><a href="<{:U('Member/cardcenter')}>"><img src="__ROOT__/themes/default/wap/statics/img/center/caidan1.png"><br />我要办卡</a></li>
        <li><a href="<{:U('wap/loanscate/query')}>"><img src="__ROOT__/themes/default/wap/statics/img/center/caidan2.png" /><br />我要贷款</a></li>
        <li class="center"><a href="<{:U('wap/backstage/houtai2')}>">
            <img src="__ROOT__/themes/default/wap/statics/img/center/caidan34.png"></a></li>
        <li><a href="<{:U('Member/raise')}>"><img src="__ROOT__/themes/default/wap/statics/img/center/caidan4.png"/><br />我要提额</a></li>
        <li class="on">

            <a href="<{:U('Member/index')}>"><img src="__ROOT__/themes/default/wap/statics/img/center/caidan5.png"/><br />个人中心</a>
        </li>
    </ul>
</div>

<div class="mui-content">
    <div class="xinxi">
        <div class="ziliao">

            <a href="<{:U('member/edit',array('id'=>$id,'nickname'=>$date['nickname']))}>">
                <empty name="face">
                   <img src="__ROOT__/themes/default/wap/statics/image/tx.png"/>
                    <else/>
                    <img src="<{$face}>"/>
                </empty>

            </a>

            <p><{$date.nickname}></p>
        </div>
        <div class="edu">
            <div class="shuju"><p><{:round($date['wages_money']/100,2)}></p><p>我的工资（元）</p><span></span></div>

            <present name="money">
            <div class="shuju"><p><{$money}></p><p>我的余额（元）</p></div>
                <else/>
                <div class="shuju"><p>0</p><p>我的余额（元）</p></div>
            </present>
            <div class="clear"></div>
        </div>
    </div>
    <div class="gongneng">
        <div class="icon">
            <a href="<{:U('wap/backstage/houtai2')}>">
              <div class="daikuan"><img src="__ROOT__/themes/default/wap/statics/img/center/icon (1).png"><p>代贷</p></div>
            </a>
            <div class="daikuan"><a href="<{:U('wap/Loanscate/index')}>"><img src="__ROOT__/themes/default/wap/statics/img/center/icon (2).png"><p>贷款大全</p></a></div>
            <div class="daikuan">
                <a href="<{:U('wap/tieba/index')}>">
                    <img src="__ROOT__/themes/default/wap/statics/img/center/icon (4).png"><p>金融朋友圈</p>
                </a>
            </div>
            <a href="<{:U('wap/kouzi/kouzi')}>">
              <div class="daikuan"><img src="__ROOT__/themes/default/wap/statics/img/center/icon (3).png"><p>今日口子</p></div>
            </a>
        </div>
        <div class="icon">
          <a href="#" id="hide">
            <div class="daikuan" id="tuiguang" ><img onclick="box()" src="__ROOT__/themes/default/wap/statics/img/center/icon (7).png"><p>推广</p></div>
          </a>
            <div class="daikuan">
                <a class="ajaxclick" url="<{:U('User/cash/index')}>">
                    <img src="__ROOT__/themes/default/wap/statics/img/center/icon (6).png"><p>提现</p>
                </a>
            </div>
            <a href="<{:U('User/member/beginner')}>">
              <div class="daikuan"><img src="__ROOT__/themes/default/wap/statics/img/center/icon (8).png"><p>新手指南</p></div>
            </a>
            <div class="daikuan  tell" >
              <a href="tel:114">
              <img src="__ROOT__/themes/default/wap/statics/img/center/icon (5).png"><p>客服</p>
             </a>
            </div>

        </div>
    </div>


</div>

<div id="abc" style="display:none">
    <div class="sy_sjcpwx"  id="code" style=""></div>
</div>




</body>
</html>
<include file="public:footer_ajax"/>
<link rel="stylesheet" type="text/css" href="__ROOT__/themes/default/wap/statics/qrcodebox/css/qrcode.box.css">
<script src="__ROOT__/themes/default/wap/statics/qrcodebox/js/jquery.min.js"></script>
<script src="__ROOT__/themes/default/wap/statics/qrcodebox/js/jquery.qrcode.js"></script>
<script src="__ROOT__/themes/default/wap/statics/qrcodebox/js/qrcode.js"></script>
<script src="__ROOT__/themes/default/wap/statics/qrcodebox/js/jquery.qrcode.box.js"></script>
<style>
    /*.rqrcode_modal{display:none;}*/
    .layui-layer-content{background: #efeff4}
    div>canvas{width: 200px;height: 200px;
    }
    #padding{padding:5px 5px 5px 5px;
    }
</style>
<script>

    var Name ='\
            <div id="padding" style="width: 210px;height: 210px;">\
                <div id = "ewm"></div>\
            </div>\
';
    var user_id="http://<{$_SERVER['HTTP_HOST']}>/wap/passport/register/recommend_id/<{$id}>";
    function box(){

        layer.open({
            type: 1,
            title: false,
            closeBtn: 0,
            shadeClose: true,
            skin: 'yourclass',
            content: Name
        });

        $("#ewm").empty();
        $("#ewm").qrcode(user_id);

    }
    
</script>
